﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Mvc2Ng.Web.BootstrapLib {

  public class Bt {

    protected Bt(string css) {
      Value = css;
    }

    public string Value { get; protected set; }

    public static Bt operator &(Bt s1, Bt s2) {
      return new Bt(s1.Value + " " + s2.Value);
    }

    public static Bt operator &(string s1, Bt s2) {
      return new Bt(s1 + " " + s2.Value);
    }

    public static Bt operator &(Bt s1, string s2) {
      return new Bt(s1.Value + " " + s2);
    }

    public static implicit operator string(Bt bt) {
      return bt.Value;
    }

    public override string ToString() {
      return Value;
    }
  }

}